package com.ruoyi.project.price.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 账户流水对象 bins_account_trace
 * 
 * @author administrator
 * @date 2025-04-03
 */
public class BinsAccountTrace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 操作流水 */
    @Excel(name = "操作流水")
    private String traceSn;

    /** 用户表的用户ID */
    @Excel(name = "用户表的用户ID")
    private String userId;

    /** 用户表的用户ID */
    @Excel(name = "用户账号")
    private String accountNum;

    /** 操作类型 0:系统结算 1:用户提现 */
    @Excel(name = "操作类型 0:系统结算 1:用户提现")
    private String type;

    /** 动作标识 */
    @Excel(name = "动作标识")
    private Integer activeType;

    /** 操作金额 */
    @Excel(name = "操作金额")
    private BigDecimal amount;

    /** 当时账户金额 */
    @Excel(name = "当时账户金额")
    private BigDecimal totalAmount;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd  HH:mm:ss")
    private Date addTime;

    /** 手机号 */
    @Excel(name = "手机号")
    private String mobile;

    /** 短信提取码 */
    @Excel(name = "短信提取码")
    private String smsCode;

    /** 审批状态 */
    @Excel(name = "审批状态")
    private Integer status;

    /** 消息内容 */
    @Excel(name = "消息内容")
    private String traceMsg;

    public void setTraceSn(String traceSn) 
    {
        this.traceSn = traceSn;
    }

    public String getTraceSn() 
    {
        return traceSn;
    }

    public void setUserId(String userId)
    {
        this.userId = userId;
    }

    public String getUserId()
    {
        return userId;
    }

    public String getAccountNum() {
        return accountNum;
    }

    public void setAccountNum(String accountNum) {
        this.accountNum = accountNum;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public void setActiveType(Integer activeType) 
    {
        this.activeType = activeType;
    }

    public Integer getActiveType() 
    {
        return activeType;
    }

    public void setAmount(BigDecimal amount) 
    {
        this.amount = amount;
    }

    public BigDecimal getAmount() 
    {
        return amount;
    }

    public void setTotalAmount(BigDecimal totalAmount) 
    {
        this.totalAmount = totalAmount;
    }

    public BigDecimal getTotalAmount() 
    {
        return totalAmount;
    }

    public void setAddTime(Date addTime) 
    {
        this.addTime = addTime;
    }

    public Date getAddTime() 
    {
        return addTime;
    }

    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }

    public void setSmsCode(String smsCode) 
    {
        this.smsCode = smsCode;
    }

    public String getSmsCode() 
    {
        return smsCode;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setTraceMsg(String traceMsg) 
    {
        this.traceMsg = traceMsg;
    }

    public String getTraceMsg() 
    {
        return traceMsg;
    }

    @Override
    public String toString() {
        return "BinsAccountTrace{" +
                "traceSn='" + traceSn + '\'' +
                ", userId=" + userId +
                ", accountNum='" + accountNum + '\'' +
                ", accountNum='" + accountNum + '\'' +
                ", type=" + type +
                ", activeType=" + activeType +
                ", amount=" + amount +
                ", totalAmount=" + totalAmount +
                ", addTime=" + addTime +
                ", mobile='" + mobile + '\'' +
                ", smsCode='" + smsCode + '\'' +
                ", status=" + status +
                ", traceMsg='" + traceMsg + '\'' +
                '}';
    }
}
